package com.kws.commercial.dao.Info;

import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateUtil;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * <b>QueryContractTemplatePageInfo</b>
 *
 * @description: QueryContractTemplatePageInfo <br>
 * @date: 2024/10/23 17:02 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class QueryContractTemplatePageInfo {
    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty(value = "合同模板名称")
    private String contractTemplateName;

    @ApiModelProperty(value = "合同类型")
    private String contractType;

    @ApiModelProperty(value = "合同模板地址")
    private String contractUrl;

    @ApiModelProperty(value = "可用类型：0-不可用，1-可用")
    private String enable;

    @ApiModelProperty(value = "创建用户")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContractTemplateName() {
        return contractTemplateName;
    }

    public void setContractTemplateName(String contractTemplateName) {
        this.contractTemplateName = contractTemplateName;
    }

    public String getContractType() {
        return contractType;
    }

    public void setContractType(String contractType) {
        this.contractType = contractType;
    }

    public String getContractUrl() {
        return contractUrl;
    }

    public void setContractUrl(String contractUrl) {
        this.contractUrl = contractUrl;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateTime() {
        String date = DateUtil.format(this.createTime, DatePattern.NORM_DATETIME_FORMATTER);
        return date;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
